﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SurvivalStrategy
{
    //klasa w przyszlosci bedzie sluzyla do zarzadzania jednostkami stadnymi, jak zwierzeta czy potworki
    public class AIManager
    {
        private List<PrimitiveAgentController> agents;
        private AIManagerCommunicator aiCommunicator;
        public AIManager(AIManagerCommunicator aiCommunicator)
        {
            agents = new List<PrimitiveAgentController>();
            this.aiCommunicator = aiCommunicator;
        }

        public void Update()
        {
            foreach (PrimitiveAgentController agent in agents)
                agent.Update();
        }
    }
}
